<template>
  <el-form label-width="100px">
    <el-form-item
      label="公司名称"
    ><el-input
      v-model="companyInfo.name"
      disabled
    /></el-form-item>
    <el-form-item
      label="公司地址"
    ><el-input
      v-model="companyInfo.companyAddress"
      disabled
    /></el-form-item>
    <el-form-item
      label="公司电话"
    ><el-input
      v-model="companyInfo.companyPhone"
      disabled
    /></el-form-item>
    <el-form-item
      label="邮箱"
    ><el-input
      v-model="companyInfo.mailbox"
      disabled
    /></el-form-item>
    <el-form-item
      label="备注"
    ><el-input
      v-model="companyInfo.remarks"
      disabled
    /></el-form-item>
  </el-form>
</template>

<script>
import { company } from '@/api/setting'
export default {
  data() {
    return {
      companyInfo: ''
    }
  },
  async created() {
    const res = await company(this.$store.state.user.userInfo.companyId)
    this.companyInfo = res.data
    console.log('公司信息', res)
  }
}
</script>

<style></style>
